package com.imooc.product.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 商品服务被调用接口
 * @author steve
 * @date 2020/6/17 11:19
 */
@RestController
public class ServerController {

    @GetMapping("/msg")
    public String msg() {
        return "this is a product msg";
    }
}
